package com.koalac.ironman.net.pojo.response;

import org.json.JSONObject;

public class Notice extends BaseResponse{

	/**
	 * 消息的id
	 */
	public int id;
	/**
	 * 消息的标题
	 */
	private String title = "";
	/**
	 * 消息的内容
	 */
	private String content = "";
	/**
	 * 消息的发送时间
	 */
	private int dateline = 0;
	/**
	 * 消息的发送时间
	 */
	private int feedbackID = 0;
	

	public void init(JSONObject source){
		if(null!= source){
			id = source.optInt("id");
			dateline = source.optInt("dateline");
			title = source.optString("title");
			content = source.optString("content");
			feedbackID = source.optInt("feedback_id");
		}
	}
	
	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public int getDateline() {
		return dateline;
	}

	public void setDateline(int dateline) {
		this.dateline = dateline;
	}

	public int getFeedbackID() {
		return feedbackID;
	}

	public void setFeedbackID(int feedbackID) {
		this.feedbackID = feedbackID;
	}

}
